<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>NormalSystem</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="./css/font.css">
    <link rel="stylesheet" href="./css/xadmin.css">
    <script type="text/javascript" src="./js/jquery.js"></script>
    <script type="text/javascript" src="./lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="./js/xadmin.js"></script>
    <script type="text/javascript" src="./js/admin.js"></script>
  </head>
  
  <body>
    <div class="x-nav">
      <span class="layui-breadcrumb">
        <a href="">首页</a>
        <a href="">管理员管理</a>
        <a>
          <cite>管理员列表</cite></a>
      </span>
      <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
        <i class="layui-icon" style="line-height:30px">ဂ</i></a>
    </div>
    <div class="x-body">
        <div class="adminTable">
            <div class="layui-inline">
                <input class="layui-input" name="name" id="adminReload" autocomplete="off" placeholder="输入要搜索的用户姓名">
            </div>
            <button class="layui-btn" data-type="reload">搜索</button>
        </div>
      <xblock>
        <button id="addAdmin" class="layui-btn" ><i class="layui-icon"></i>添加</button>
      </xblock>
        <table id="adminList" lay-filter="adminList"></table>
    </div>
    <script type="text/html" id="adminBar">

        {{# if(d.status==1){ }}
            <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="cancel">停用</a>
        {{# } }}
        {{# if(d.status==2){ }}
            <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">编辑</a>
            <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="del">删除</a>
            <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="use">启用</a>
            <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="bind">分配角色</a>
        {{# } }}
    </script>
  </body>

</html>